In This Topic
    In This Topic

    The following example demonstrates how to hide the row-selector pane. 

    XAML
    Copy Code
    <Grid xmlns:xcdg="http://schemas.xceed.com/wpf/xaml/datagrid">
      <Grid.Resources>
        <xcdg:DataGridCollectionViewSource x:Key="cvs_orders"
                                        Source="{Binding Source={x:Static Application.Current},
                                                          Path=Orders}"/>
      </Grid.Resources>
       <xcdg:DataGridControl x:Name="OrdersGrid"
                             ItemsSource="{Binding Source={StaticResource cvs_orders}}">
          <xcdg:DataGridControl.View>
            <xcdg:TableView ShowRowSelectorPane="False"/>
          </xcdg:DataGridControl.View>
       </xcdg:DataGridControl>
    </Grid>
    VB.NET
    Copy Code
    Dim view As New TableView()
    view.ShowRowSelectorPane = False
    dataGridControl.View = view
    C#
    Copy Code
    TableView view = new TableView();
    view.ShowRowSelectorPane = false;
    dataGridControl.View = view;